package com.jxx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@JsonIgnoreProperties(ignoreUnknown=true) //表示JSON转化时忽略未知属性
@TableName("admin")
@Data
@Accessors(chain=true)
@NoArgsConstructor
@AllArgsConstructor
public class Admin extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer adminId;        //管理员编号
    private String adminAccount;    //管理员账号
    private String adminPassword;   //管理员密码
    private String salt;            //盐值
}
